package com.dupf.product.web.controller.order;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dupf.common.base.BaseController;
import com.dupf.common.mws.MarketplaceOrdersConfig;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 
 * @author zhangpeng
 * Created by 2019年1月3日
 */
@Controller
@Api(value = "订单管理", description = "订单管理")
@RequestMapping("/order")
public class OrderInfoController extends BaseController{

    private static final Logger LOGGER = LoggerFactory.getLogger(OrderInfoController.class);

    @ApiOperation(value = "订单列表")
    @RequestMapping(value = "/list", method = RequestMethod.GET)
    @ResponseBody
    public Object list(
    		@RequestParam(required = false, defaultValue = "", value = "amazonOrderId") String amazonOrderId,//亚马逊订单
    		@RequestParam(required = false, defaultValue = "", value = "companyId") String companyId,//公司ID
    		@RequestParam(required = false, defaultValue = "", value = "userId") Integer empUserId,//业务员---本网站的个人设置的姓名
//    		@RequestParam(required = false, defaultValue = "", value = "amazonOrderId") String amazonOrderId,//销售源 --店铺名称
    		@RequestParam(required = false, defaultValue = "", value = "CreatedAfter") Long CreatedAfter,//此时间之后的订单
    		@RequestParam(required = false, defaultValue = "", value = "CreatedBefore") long CreatedBefore,//此时间之前的订单
    		@RequestParam(required = false, defaultValue = "", value = "sku") String sku,//sku
    		@RequestParam(required = false, defaultValue = "", value = "country") String country,//国家--可以分为美国欧洲日本等几个大国
    		@RequestParam(required = false, defaultValue = "", value = "domesticTrackingNumber") String domesticTrackingNumber,//国内跟踪号
    		@RequestParam(required = false, defaultValue = "", value = "foreignTrackingNumber") String foreignTrackingNumber,//国外跟踪号
    		@RequestParam(required = false, defaultValue = "", value = "orderStatus") String orderStatus//订单状态
    		) {
    	
    		return null;
    }
}
